package com.zhangzhi.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhangzhi.dao.OrderDao;

@Service("orderNSrevice")
public class OrderServiceImpl implements OrderService {

	@Resource
	private OrderDao orderDao;

	@Override
	public List<HashMap<String, Object>> selectOrder() {
		return orderDao.selectOrder();
	}

	@Override
	public Map<String, Object> getOrderNum(Map<String, Object> map) {
		return orderDao.getOrderNum(map);
	}

	@Override
	public Integer selectTotalOrderNum() {
		return orderDao.selectTotalOrderNum();
	}

	@Override
	public List<Map<String, Object>> selectOrderByPagination(Map<String, Object> map) {
		return orderDao.selectOrderByPagination(map);
	}
}
